fix-mu4e-msg2pdf-path
authorNorbert Preining <norbert@preining.info>
Sat, 23 Jan 2021 16:01:10 +0000 (01:01 +0900)
committerNorbert Preining <norbert@preining.info>
Sat, 23 Jan 2021 16:01:10 +0000 (01:01 +0900)
mu4e expects msg2pdf in some strange path, fix that
also remove the reference to the build path
See bug #760598

Gbp-Pq: Name fix-mu4e-msg2pdf-path

mu4e/mu4e-actions.el
mu4e/mu4e-meta.el.in

index a4940c8694848d39ad260622a8e69f507c9942be..12595d8672b616e7145937727b5b6cb63c4a8d5b 100644 (file)
@@ -54,9 +54,7 @@ Works for headers view and message-view."
 
 ;;; To PDF
 
-(defvar mu4e-msg2pdf
-  (let ((exec-path (cons (concat mu4e-builddir "/toys/msg2pdf/") exec-path)))
-    (locate-file "msg2pdf" exec-path exec-suffixes))
+(defvar mu4e-msg2pdf "/usr/bin/msg2pdf"
   "Path to the msg2pdf toy.")
 
 (defun mu4e-action-view-as-pdf (msg)
index 47d242dbb3e3e62ddc23826e617a34ac5b58f358..fc4cf8acca1368e8294ddc7cb9fda5e44339cce2 100644 (file)
@@ -2,7 +2,7 @@
 (defconst mu4e-mu-version "@VERSION@"
   "Required mu binary version; mu4e's version must agree with this.")
 
-(defconst mu4e-builddir "@abs_top_builddir@"
+(defconst mu4e-builddir "IGNORED"
   "Top-level build directory.")
 
 (defconst mu4e-doc-dir "@MU_DOC_DIR@"